$mainColor: rgb(254,254,254);
$bcgColor: rgb(248,247,253);

.item{
  width: 320px;
  height: 265px;
  background-color: $mainColor;
  border-radius: 20px;
  box-shadow: 2px 2px 10px 0 rgba(128, 128, 128, .3);
  padding: 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 10px;

  &>div{
    width: 100%;
  }

  .img{
    height: 107px;
    border-radius: 20px;
    overflow: hidden;
    img{
      width: 100%;
      height: 100%;
    }
  }

  .desc{
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-content: center;
    overflow: hidden;

    .content{
      width: 60%;
      height: 100%;

      span{
        font-size: 17px;
        font-weight: bold;
        line-height: 170%;
      }
    }

    .more{
      height: 100%;
      width: 20px;
      span{
        letter-spacing: 2px;
        font-weight: bolder;
        line-height: 50px;
        transition: all linear .2s;
        cursor: pointer;
        &:hover{
          color: #1890ff;
          font-weight: bolder;
        }
      }
    }

    .avatar{
      width: 48px;
      height: 100%;
      display: block;
      line-height: 42px;
      text-align: center;
      .ant-avatar{
        width: 45px;
        height: 45px;
        margin-top: 7px;
        transition: all linear .2s;
        line-height: 45px;
        &:hover{
          box-shadow: rgba(128, 128, 128, .3) 1px 2px 5px 2px;
          cursor: pointer;
        }
      }
    }
  }

  .content{
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    overflow: hidden;

    .date{
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 14px;
      color: gray;
      font-weight: bold;
    }

    .text{
      width: 100%;
      height: 40%;

      &>span{
        font-size: 16px;
        color: rgb(195, 195, 195);
        line-height: 30px;
      }
    }

    .tags{
      width: 100%;
      height: 16%;
      display: flex;
      justify-content: flex-start;
      align-content: center;

      &>div:nth-child(1){
        background-color: rgb(173,163,215);
      }
      &>div:nth-child(2){
        background-color: rgb(100,198,124);
      }

      &>div+div{
        margin-left: 10px;
      }

      &>div{
        width: 33%;
        height: 100%;
        border-radius: 15px;
        text-align: center;
        color: white;
        line-height: 150%;
      }
    }
  }

}